﻿<%@ Page Language="C#" MasterPageFile="~/Manager/MasterPage/PageTemplate.Master"
    AutoEventWireup="true" CodeBehind="ColConfigItem.aspx.cs" Inherits="FrameWork.web.Module.FrameWork.UserManager.ColConfigItem" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/css/subModal.css" />

    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/common.js"></script>

    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>Manager/inc/FineMessBox/js/subModal.js"></script>


    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" 
        runat="server" HeadTitleTxt="属性列配置" HeadOPTxt="新建属性列配置" 
        ButtonList-Capacity="4">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonName="返回" ButtonPopedom="List" 
            ButtonUrl="Default.aspx" ButtonUrlType="Href" ButtonVisible="True" />

    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
         <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="新增配置">
          <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                   <tr>
                    <td style=" width:5%" class="table_body table_body_NoWidth">
                        配置名称：
                    </td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtName" runat="server" Width="195px"></asp:TextBox>
                    </td>
               </tr>
                 <tr>
                    <td class="table_body table_body_NoWidth" style="height: 31px">
                        是否默认：
                    </td>
                    <td class="table_none table_none_NoWidth" style="height: 31px">
                        <asp:DropDownList ID="ISD" runat="server" Width="150px">
                        <asp:ListItem Text="是" Value="1"></asp:ListItem>
                         <asp:ListItem Text="否" Value="0"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                 <td class="table_body table_body_NoWidth">
                        备注：
                    </td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtremark" runat="server" Width="195px"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
             <tr>
               <td style="width:10%" class="table_body table_body_NoWidth">
                        属性列：
                    </td>
                    <td style="width:15%" class="table_none table_none_NoWidth">
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="150px">
                        <asp:ListItem Text="LotAtt01" Value="LotAtt01"></asp:ListItem>
                         <asp:ListItem Text="LotAtt02" Value="LotAtt02"></asp:ListItem>
                         <asp:ListItem Text="LotAtt03" Value="LotAtt03"></asp:ListItem>
                         <asp:ListItem Text="LotAtt04" Value="LotAtt04"></asp:ListItem>
                         <asp:ListItem Text="LotAtt05" Value="LotAtt05"></asp:ListItem>
                         <asp:ListItem Text="LotAtt06" Value="LotAtt06"></asp:ListItem>
                         <asp:ListItem Text="LotAtt07" Value="LotAtt07"></asp:ListItem>
                         <asp:ListItem Text="LotAtt08" Value="LotAtt08"></asp:ListItem>
                         <asp:ListItem Text="LotAtt09" Value="LotAtt09"></asp:ListItem>
                         <asp:ListItem Text="LotAtt10" Value="LotAtt10"></asp:ListItem>
                         <asp:ListItem Text="LotAtt11" Value="LotAtt11"></asp:ListItem>
                         <asp:ListItem Text="LotAtt12" Value="LotAtt12"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                     <td style="width:10%" class="table_body table_body_NoWidth">
                         自定义名称：
                    </td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtwebname" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak"  Text="添加" 
                            onclick="Button1_Click" />
                    </td>
                </tr>
                <tr>
                <td colspan="5">
                 <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="False" 
                        onrowcommand="GridView3_RowCommand" OnRowDataBound="GridView3_RowDataBound">
                <Columns>
                 <asp:TemplateField HeaderText="" Visible="false">
                        <ItemTemplate>
                            <asp:Label ID="LabelID" runat="server" Text='<%# Bind("ID") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="属性列">
                        <ItemTemplate>
                            <asp:Label ID="LabelName" runat="server" Text='<%# Bind("ColDataName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="自定义名称">
                        <ItemTemplate>
                            <asp:Label ID="LabelWeb" runat="server" Text='<%# Bind("ColWebName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField ShowHeader="False">
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="false" 
                                CommandName="del" Text="删除"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            </td>
            </tr>
            <tr>
            <td colspan="5" align="right" >
             <asp:Button ID="Button2" runat="server" CssClass="button_bak"  Text="确定" 
                    onclick="Button2_Click" />  &nbsp;
              <asp:Button ID="Button3" runat="server" CssClass="button_bak"  Text="重置" 
                    onclick="Button3_Click" />
            </td>
            </tr>
              
            </table>
          </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
     <asp:Label ID="LabelOldData" runat="server" Text="" Visible="false"></asp:Label>
         
               <asp:Label ID="lableCurrentData" runat="server" Text="" Visible="false"></asp:Label>
               <asp:Label ID="LabelItemID" runat="server" Text="" Visible="false"></asp:Label>
</asp:Content>
